/*
 * @Description:
 * @Author: changqing
 * @Date: 2021-05-21 15:46:23
 * @LastEditTime: 2021-05-21 15:46:48
 * @LastEditors: changqing
 * @Usage:
 */
// 判断路径是不是带协议的外链
export const isExternal = (path: string): boolean => {
  return /^(https?:|mailto:|tel:)/.test(path)
}
